package com.cangsan.erhai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cangsan.erhai.entity.SysRole;
import com.cangsan.erhai.entity.SysUserRole;

import java.util.List;
import java.util.Map;

/**
* @author 76118
* @description 针对表【sys_user_role(用户和角色关联表)】的数据库操作Service
* @createDate 2024-09-17 16:11:19
*/
public interface SysUserRoleService extends IService<SysUserRole> {

    Map<String, List<SysRole>> roleByUserId(Long userId);
}
